package com.ruoyi.basebill.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.basebill.mapper.TtttestMapper;
import com.ruoyi.basebill.domain.Ttttest;
import com.ruoyi.basebill.service.ITtttestService;

/**
 * 测试测试Service业务层处理
 * 
 * @author xiefeng
 * @date 2023-02-06
 */
@Service
public class TtttestServiceImpl implements ITtttestService 
{
    @Autowired
    private TtttestMapper ttttestMapper;

    /**
     * 查询测试测试
     * 
     * @param fid 测试测试主键
     * @return 测试测试
     */
    @Override
    public Ttttest selectTtttestByFid(Long fid)
    {
        return ttttestMapper.selectTtttestByFid(fid);
    }

    /**
     * 查询测试测试列表
     * 
     * @param ttttest 测试测试
     * @return 测试测试
     */
    @Override
    public List<Ttttest> selectTtttestList(Ttttest ttttest)
    {
        return ttttestMapper.selectTtttestList(ttttest);
    }

    /**
     * 新增测试测试
     * 
     * @param ttttest 测试测试
     * @return 结果
     */
    @Override
    public int insertTtttest(Ttttest ttttest)
    {
        return ttttestMapper.insertTtttest(ttttest);
    }

    /**
     * 修改测试测试
     * 
     * @param ttttest 测试测试
     * @return 结果
     */
    @Override
    public int updateTtttest(Ttttest ttttest)
    {
        return ttttestMapper.updateTtttest(ttttest);
    }

    /**
     * 批量删除测试测试
     * 
     * @param fids 需要删除的测试测试主键
     * @return 结果
     */
    @Override
    public int deleteTtttestByFids(Long[] fids)
    {
        return ttttestMapper.deleteTtttestByFids(fids);
    }

    /**
     * 删除测试测试信息
     * 
     * @param fid 测试测试主键
     * @return 结果
     */
    @Override
    public int deleteTtttestByFid(Long fid)
    {
        return ttttestMapper.deleteTtttestByFid(fid);
    }
}
